package com.cuit.zuke.hotel;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.cuit")
@MapperScan(basePackages = "com.cuit.zuke.system.dao")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.cuit.zuke.hotel.client")
public class ZukeHotelApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZukeHotelApplication.class, args);
    }

}
